package com.cddx.logistics.domain.pojo;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class Warehousesettings implements Serializable {
    @ApiModelProperty("仓库ID")
    private Long warehouseId;

    @NotBlank(message = "仓库编号不能为空")
    @ApiModelProperty("仓库编号")
    private String warehouseCode;

    @NotNull(message = "仓库类型不能为空")
    @ApiModelProperty("仓库类型(1-自家仓库,2-电力公司仓库,3-第三方合作仓,4-临时租赁仓,5-保税仓,6-跨境仓,7-供应商托管仓)")
    private Integer warehouseType;

    @NotBlank(message = "仓库名称不能为空")
    @ApiModelProperty("仓库名称")
    private String warehouseName;

    @ApiModelProperty("仓库位置")
    private String warehouseLocation;

    @ApiModelProperty("仓库管理员ID")
    private Long warehouseManagerId;

    @ApiModelProperty("联系电话")
    private String warehouseContactPhone;

    @ApiModelProperty("总容量")
    private Double warehouseTotalCapacity;

    @ApiModelProperty("已用容量")
    private Double warehouseUsedCapacity;

    @ApiModelProperty("状态(1-启用,0-禁用)")
    private Integer warehouseStatus;

    @ApiModelProperty("备注")
    private String warehouseRemark;

    @ApiModelProperty("创建时间")
    private Date warehouseCreateTime;

    @ApiModelProperty("更新时间")
    private Date warehouseUpdateTime;
}